package com.simple.sso.server.utils;

import lombok.Data;

import java.util.HashMap;
import java.util.Map;

@Data
public class JsonResult {

    private String msg;

    private JsonStatus jsonStatus = JsonStatus.ERROR;

    private Map<String, Object> resultMap = new HashMap<>();

    public JsonResult() {

    }

    public JsonResult(String msg, JsonStatus jsonStatus) {
        this.jsonStatus = jsonStatus;
        this.msg = msg;
    }
}
